package com.foreknow.eldclient.service;

import com.foreknow.eldclient.po.Food;
import com.foreknow.eldclient.po.OrderDetailet;

import java.util.List;

public interface FoodService {
    public List<Food> listFoodByBusinessId(Integer businessId) throws Exception;
    List<Food> listFoodByFoodName(String foodName) throws Exception;
    int addFoodByBId(Food food);
    int delFood(String foodId);
    int updateFoodById(Food food);
    Food listFoodById(int foodId);
    int updateFoodSales(OrderDetailet orderDetailet) throws Exception;
    int getFoodSalesByFId(int foodId);
    List<Food> listTop5Food();

}
